<!DOCTYPE html>
<!-- release v4.3.0, copyright 2014 - 2015 Kartik Visweswaran -->
<html lang="en">
    <head>
        <meta charset="UTF-8"/>
        <title>Krajee JQuery Plugins - &copy; Kartik</title>
        <link rel="stylesheet" href="../pub/tw/css/bootstrap.css">
        <link href="../css/fileinput.css" media="all" rel="stylesheet" type="text/css" />
        <script src="../pub/jquery.min.js"></script>
        <script src="../js/fileinput.js" type="text/javascript"></script>
        <script src="../js/fileinput_locale_zh.js" type="text/javascript"></script>
        <script src="../pub/tw/js/bootstrap.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div class="container kv-main">
          <div class="row">
              <div class="col-md-3 col-sm-4">
                  <form enctype="multipart/form-data">
                      <label class="control-label">Select File</label>
                      <input id="input-4" name="input4[]" type="file" multiple class="file-loading">
                 </form>
              </div>
           </div>
        </div>
    </body>
	<script type="text/javascript">
        $("#input-4").fileinput({
            showCaption: false,
            language: 'zh',
            maxFileCount: 10,
            allowedFileExtensions : ['txt'],
        });

	</script>
</html>